package cn.wolfcode.shop.mq.msg;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NegativeOrZero;
import java.io.Serializable;

/**
 * 用于封装通知订单创建成功还是失败的数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SeckillSuccessMsg implements Serializable {
    private String uuid;    // 用uuid到Map中匹配到对应的用户
    private String orderNo; // 创建订单成功之后在后台，需要跳转到订单详情页，需要orderNo
}
